package com.scsj.supermarket.view.activity.settingmodel;

import android.os.Bundle;
import android.view.View;
import android.widget.RelativeLayout;

import com.scsj.supermarket.R;
import com.scsj.supermarket.view.activity.baseactivitymodel.BaseActivity;

/**
 * 关于我们
 */
public class NewAboutUsActivity extends BaseActivity implements View.OnClickListener {

    private RelativeLayout mRlAgreementStatement;
    private RelativeLayout mRlSurveyFeedback;

    @Override
    protected void createView(Bundle savedInstanceState) {
        setContentView(R.layout.activity_about_us);
        //ScreenAdapterTools.getInstance().loadView((ViewGroup) getWindow().getDecorView());
        //ScreenAdapterTools.getInstance().reset(this);//如果希望android7.0分屏也适配的话,加上这句
        initToolbar();
        setToolbarTitle("关于我们");
        hasBack(true);
    }

    @Override
    protected void initView() {

        mRlAgreementStatement = (RelativeLayout) findViewById(R.id.rl_agreement_statement);
        mRlAgreementStatement.setOnClickListener(this);
        mRlSurveyFeedback = (RelativeLayout) findViewById(R.id.rl_survey_feedback);
        mRlSurveyFeedback.setOnClickListener(this);
    }

    @Override
    protected void initListener() {

    }

    @Override
    protected void initData() {

    }


    @Override
    public void onClick(View v) {
        switch (v.getId()) {
            default:
                break;
            case R.id.rl_agreement_statement://协议说明

                break;
            case R.id.rl_survey_feedback://调查反馈

                break;
        }
    }
}
